﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SGS.Standard;
using System.Threading;
using SGS;
using DataStruct;

namespace GameLoader
{
    public class A
    {
        public string a
        {
            get;
            set;
        }
    }

    public class Test
    {
        public A Ins
        {
            get;
            set;
        }
    }

    public class Program
    {
        
        static void Main( string[] args )
        {

            Circle<Player> p = new Circle<Player>();

            p.Add(new Player("aaa"));
            p.Add(new Player("bbb"));
            p.Add(new Player("ccc"));
            p.Add(new Player("ddd"));
            p.Add(new Player("eee"));

            var cards = DataConstructor.CreateDefaultCardsForTest();

            LinkedList<SGS.Cards.Card> c2 = new LinkedList<SGS.Cards.Card>(cards);

            // string str = SGS.Utility.XmlSerializerHelper.Serialize(p);
            string str = SGS.Utility.XmlSerializerHelper.Serialize(c2);
            Console.WriteLine(str);

            return;
            ConsoleGame tg = new ConsoleGame();
            tg.Do();
        }

        public static void Move(A a, A b)
        {
            a = b;
            // b = null;
            // b.a = "move";
        }
    }
    

}
